package com.ymatou.iapi.trading.sellerquery2.parameter.resp;

import java.lang.reflect.Field;
import java.math.BigDecimal;

import com.ymttest.common.entitie.JavaResponse;
import com.ymttest.utils.DataUtil;

public class GetRefundInfoResp extends JavaResponse{
	/**
	 * 订单号
	 */
	private int orderId;

	/**
	 * 退款单号
	 */
	private String refundNo;

	/**
	 * 退款总额
	 */
	private BigDecimal total = BigDecimal.ZERO;

	/**
	 * 已退现金(退款未结束时为0)
	 */
	private BigDecimal refundedCash = BigDecimal.ZERO;

	/**
	 * 已退红包(退款未结束时为0)
	 */
	private BigDecimal refundedGift = BigDecimal.ZERO;

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public String getRefundNo() {
		return refundNo;
	}

	public void setRefundNo(String refundNo) {
		this.refundNo = refundNo;
	}

	public BigDecimal getTotal() {
		return total;
	}

	public void setTotal(BigDecimal total) {
		this.total = total;
	}

	public BigDecimal getRefundedCash() {
		return refundedCash;
	}

	public void setRefundedCash(BigDecimal refundedCash) {
		this.refundedCash = refundedCash;
	}

	public BigDecimal getRefundedGift() {
		return refundedGift;
	}

	public void setRefundedGift(BigDecimal refundedGift) {
		this.refundedGift = refundedGift;
	}
	
	public static void main(String[] args) {
		Class c = GetRefundInfoResp.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("DataUtil.verify(expect.get"
					+ DataUtil.toUpperCaseFirstOne(s) + "(), actual.get"+DataUtil.toUpperCaseFirstOne(s)
					+ "(),\"验证" + s
					+ "\");");
		}
	}
}
